package com.lyj.system.controller;

import com.lyj.redis.service.RedisService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-11
 * Time: 16:19
 */
@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {
    @Autowired
    private RedisService redisService;
    @RequestMapping("/rizhi")
    public void rizhi(){
        System.out.println("测试日志");
        log.info("我是info日志");
        log.error("我是error日志");
    }
    @RequestMapping("/redisTest")
    public void redisTest(){

    }
}
